resource "google_cloud_identity_group" "<%= ctx[:primary_resource_id] %>" {
  display_name         = "<%= ctx[:vars]['id_group'] %>"
  initial_group_config = "WITH_INITIAL_OWNER"

  parent = "customers/<%= ctx[:test_env_vars]['cust_id'] %>"

  group_key {
  	id = "<%= ctx[:vars]['id_group'] %>@<%= ctx[:test_env_vars]['org_domain'] %>"
  }

  labels = {
    "cloudidentity.googleapis.com/groups.discussion_forum" = ""
  }
}
